package cn.edu.tju.elm.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * ClassName: OrderDTO
 * Package: cn.edu.tju.elm.dto
 * Description:
 *
 * @Author Niu Wenhang
 * @Create 2025/9/18 20:51
 * @Version 1.0
 */
public class OrderResponseDTO {
    private Long id;
    private Long customerId;
    private Long businessId;
    private Long addressId;
    private BigDecimal orderTotal;
    private LocalDateTime orderDate;
    private Boolean deleted;
    private List<OrderDetailetResponseDTO> orderDetailetList;

    public BigDecimal getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public LocalDateTime getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(LocalDateTime orderDate) {
        this.orderDate = orderDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }


    public List<OrderDetailetResponseDTO> getOrderDetailetList() {
        return orderDetailetList;
    }

    public void setOrderDetailetList(List<OrderDetailetResponseDTO> orderDetailetList) {
        this.orderDetailetList = orderDetailetList;
    }
}
